<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script src="./dataPrototype.js"></script>
<script>
    window.onload = function(){
        var d = new Date();
        var str = d.Format("yyyy-MM-dd hh:mm:ss");
        // var str = d.Format("yyyy-MM-dd");
        console.log(str);
    }
</script>
</html>